package io.github.talelin.latticy.mapper.ag;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.github.talelin.latticy.model.ag.JcUnitDO;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface JcUnitMapper extends BaseMapper<JcUnitDO> {
    @Select("select higher_level_unit from ag_jc_unit")
    List<Integer> getHighLevelUnitIds();
}
